import React, { Component } from 'react';
import { Layout } from 'antd';
import '../less/index.less';
import Top from './Top';
import Main from './Main';
import DictDialog from './DictDialog';

const { Content, Header } = Layout;

class Root extends Component {
  render() {
    return (
      <Layout className='layout'>
        <Header className='header'><Top/></Header>
        <Content><Main/></Content>
        <DictDialog/>
      </Layout>
    );
  }
}

export default Root;
